html,
body {
  height: 100%;
  width: 100%;
  background: $backgrundColor;
}

.wrapper {
  position: relative;
}

.icon_kf {
  position: fixed;
  right: 10px;
  bottom: 130px;
  width: 54px;
  height: 76px;
  cursor: pointer;
}

.icon_tutorial {
  position: fixed;
  padding: 5px 10px;
  left: 10px;
  bottom: 70px;
  width: 70px;
  height: 50px;
  color: #c0c0c0;
  font-size: 12px;
  line-height: 20px;
  display: inline-block;
  box-sizing: border-box;
}

.wrapper-content {
  padding-bottom: 1.58rem;
  .header {
    width: 100%;
    height: 12rem;
    background: url('/resource_images/#{$path}_appdown/download_v2/header_bg.png?__static_hash__')
      no-repeat;
    background-size: 100%;

    .code-div {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      justify-content: center;
      padding-right: 14px;
      height: 54px;
    }
    .rightText {
      font-size: 14px;
      color: $normal;
      display: inline-block;
    }
  }

  .download-div {
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;

    .download {
      width: 238px;
      height: 64px;
      background-image: url('/resource_images/#{$path}_appdown/download_v2/bn_download.png?__static_hash__');
      background-size: 100%;
      animation: scale 1s infinite;
      display: inline-block;
    }
  }

  .line {
    width: 100%;
    height: 23px;
    background-image: url('/resource_images/#{$path}_appdown/download_v2/line.png?__static_hash__');
    background-size: 100%;
  }

  .channel {
    width: 100%;
    height: 9.4rem;
    background: url('/resource_images/#{$path}_appdown/download_v2/channel_bg.png?__static_hash__')
      no-repeat;
    background-size: 100%;

    .domainList {
      padding-top: 5.5rem;

      .domain-item {
        text-align: center;
        color: $strong;
        width: 100%;
        height: 0.82rem;
        line-height: 0.82rem;
        margin-bottom: 0.28rem;
        display: flex;
        padding: 0 3.3rem 0 0.8rem;
        text-decoration: none;
        box-sizing: border-box;

        .time_text {
          text-align: center;
          width: 1.8rem;
          font-size: 12px;
          color: $normal;
        }

        .text {
          text-align: center;
          flex: 1;
          font-size: 14px;
        }
      }
    }
  }
  .hot-div {
    width: 100%;
    height: 18rem;
    background: url('/resource_images/#{$path}_appdown/download_v2/hot_bg.png?__static_hash__')
      no-repeat;
    background-size: 100%;
  }
}

.footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.56rem;
  background: url('/resource_images/#{$path}_appdown/download_v2/footer_bg_new.png?__static_hash__')
    no-repeat;
  background-size: 100%;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.tutorialModal {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1;
  visibility: hidden;

  img {
    width: 320px;
  }
}

.modal-overlay {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1;
  visibility: hidden;
}

.modal {
  width: 317px;
  height: 372px;
  background-color: white;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  z-index: 2;
  gap: 15px;
  visibility: hidden;
}

.modal-image {
  width: 78px;
  height: 78px;
  margin-top: 35px;
}

.modal-title {
  font-weight: 600;
  font-size: 24px;
  line-height: 33.6px;
  color: #414655;
}

.modal-description {
  font-size: 14px;
  line-height: 19.6px;
  color: #6c7ba8;
  text-align: justify;
  margin: 10px 0;
  width: 100%;
  word-wrap: break-word;
}

.modal-button {
  width: 250px;
  height: 44px;
  font-size: 14px;
  border-radius: 22px;
  background-image: linear-gradient(to right, #ff8700, #ffc700);
  color: white;
  border: none;
  cursor: pointer;
  @if $path == 'blhg' {
    background-image: $gradient;
  }
}

.service-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
  margin: auto;
  padding: 10px;
  border-radius: 10px;
  font-size: 14px;
  color: white;
}

.service-card {
  width: auto;
  min-height: 89px;
  gap: 0;
  border-radius: 12px;
  justify-content: space-between;
  opacity: 1;
  //background-image: url('/resource_images/#{$path}_appdown/common/kefu_bg.png?__static_hash__');
  //background-size: 100% 100%;
  display: flex;
  align-items: center;
  padding: 6px 16px;
  align-content: center;
  @if $path == 10004 {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0px 4px 12px 0px rgba(65, 118, 250, 0.1);
  }
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.service-icon {
  width: 60px;
  height: 60px;
}

.service-text-gap8 {
  gap: 8px;
}

.service-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 10px;
  flex-grow: 1;
  color: $strong;

  p {
    color: $strong;
  }
}

.btn {
  width: 98px;
  height: 28px;
  border-radius: 14px;
  font-size: 14px;
  border: 1px solid $theme_color;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: $gradient;
}

.btn:hover {
  background: $gradient;
}

.vertical-btns {
  min-height: 32px;
  display: flex;
  position: relative;
  flex-direction: row;
  justify-content: space-evenly;
  margin-top: 0.2rem;

  .app-download-btn {
    width: 28vw;
    height: 8.5vw;
    border: none;
    background: url('/resource_images/#{$path}_appdown/download_v2/appdown-btn.png?__static_hash__')
      no-repeat;
    background-size: 100% 100%;
  }

  .app-download-btn {
    width: 28vw;
    height: 8.5vw;
    border: none;
    background: url('/resource_images/#{$path}_appdown/download_v2/appdown-btn.png?__static_hash__')
      no-repeat;
    background-size: 100% 100%;
  }

  .goto-h5-btn {
    width: 28vw;
    height: 8.5vw;
    border: none;
    background: url('/resource_images/#{$path}_appdown/download_v2/goto-h5-btn.png?__static_hash__')
      no-repeat;
    background-size: 100% 100%;
  }

  .jc-btn {
    width: 28vw;
    height: 8.5vw;
    border: none;
    background: url('/resource_images/#{$path}_appdown/download_v2/jc-btn.png?__static_hash__')
      no-repeat;
    background-size: 100% 100%;
  }
}

.back-top-btn {
  height: 32px;
  line-height: 32px;
  width: 120px;
  font-size: 14px;
  text-align: center;
  margin: 0 auto;
  border-radius: 16px;
  background: $them_gradient;
  color: $card_title;
  margin-top: 0.6rem;
  @if $path == 'hgty' {
    color: #fff;
  }
  @if $path == 'blhg' {
    color: #fff;
  }
}

#confirmModal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 300px;
  text-align: center;
}

#confirmModal .modal-content {
  padding: 20px;
}

#confirmModal .modal-content p {
  margin-bottom: 20px;
  font-size: 16px;
  color: $strong;
}

#confirmModal .modal-content button {
  width: 100%;
  height: 40px;
  background: $them_gradient;
  color: $card_bg;
  border: none;
  border-radius: 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#confirmModal .modal-content button:hover {
  background: $them_gradient;
}

#modalOverlayTips {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9998;
}

img[src=''] {
  visibility: hidden;
}

@keyframes scale {
  0% {
    transform: scale(0.9);
  }

  50% {
    transform: scale(1);
  }

  100% {
    transform: scale(0.9);
  }
}
